package com.freak.wanandroid.base;

import androidx.recyclerview.widget.RecyclerView;

/**
 * Created by lzj on 2017/8/24.
 */
@Deprecated
public abstract class MBaseAdapter<T extends RecyclerView.ViewHolder> extends RecyclerView.Adapter<T> {

    public interface MOnItemClickListener {
         void onItemClick(int position, Object o);
    }

    public MOnItemClickListener onItemClick;

    public MOnItemClickListener getOnItemClick() {
        return onItemClick;
    }

    public void setOnItemClick(MOnItemClickListener onItemClick) {
        this.onItemClick = onItemClick;
    }
}
